package com.test;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@SpringBootApplication
public class EsignPatternTestApplication {

	public static void main(String[] args) {
		SpringApplication.run(EsignPatternTestApplication.class, args);
	}
}

@RestController
@RequestMapping(value = "/aaa")
class Controller{

	public void test(){
		IA ia = new A();
		IA i = null;


	}


}

interface IA{
	public  void a();
}

@Component
class A implements IA{
	public  void a(){
		System.out.println("aaaaa");
	}
}
